package com.mutual.assistance.task.model.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * @author chenyuxin
 * @version 1.0
 * @description
 * @date 2023/5/6 17:49
 */
@Data
@ApiModel("历史表与相关评论")
public class TaskHistoryDTO implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "唯一标识")
    private String taskId;

    @ApiModelProperty(value = "任务标题")
    private String title;

    @ApiModelProperty(value = "任务描述url地址")
    private String pic;

    @ApiModelProperty(value = "任务内容")
    private String content;

    @ApiModelProperty(value = "任务类型{二手交易、互帮互助、学习辅导}")
    private String type;

    @ApiModelProperty(value = "任务标签{日用品、二手书、商品代取、学科辅助}")
    private String tags;

    @ApiModelProperty(value = "备注")
    private String remark;

    @ApiModelProperty(value = "1. 邮箱 2. qq 3. 电话")
    private String contactInformation;

    @ApiModelProperty(value = "联系地址")
    private String address;

    @ApiModelProperty(value = "任务积分")
    private Integer credit;

    @ApiModelProperty(value = "发布者姓名")
    private UserDTO publisher;

    @ApiModelProperty(value = "任务接收人姓名")
    private String recipient;

    @ApiModelProperty(value = "任务状态}")
    private String status;

    @ApiModelProperty(value = "发布时间(创建时间)")
    private LocalDateTime publishTime;

    @ApiModelProperty(value = "任务接收时间")
    private LocalDateTime receiveTime;

    @ApiModelProperty(value = "任务开始时间")
    private LocalDateTime taskStartTime;

    @ApiModelProperty(value = "任务结束时间")
    private LocalDateTime taskEndTime;

    @ApiModelProperty(value = "发布者评论")
    private String publisherAppraise;

    @ApiModelProperty(value = "评论星级")
    private Integer star;
}
